Python : Sequence data types in python

मान लीजिए कि d = {"जॉन": 40, "पीटर": 45}, "जॉन" के लिए एंट्री डिलीट करने के लिए,हम किस कमांड का यूज़ करते हैं? , Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?

मान लीजिए कि d = {"जॉन": 40, "पीटर": 45}, "जॉन" के लिए एंट्री डिलीट करने के लिए,हम किस कमांड का यूज़ करते हैं?

Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?
A. d.delete ( "जॉन": 40)
(d.delete(“john”:40))

B. d.delete ( "जॉन")
(d.delete(“john”))

C. डेल डी ["जॉन"]
(del d[“john”])

D. डेल डी ("जॉन": 40)
(del d(“john”:40))



Correct Answer :

C. डेल डी ["जॉन"]



Explanation
Execute in the shell to verify.
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad